<!DOCTYPE html>
<html>
<body onbeforeunload="alert('onunload')">
<p>Page with onunload event handler</p>
</body>
</html>
